# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-rstr
pkgver=2.2.6
pkgrel=0
pkgdesc="Random string generator"
options="!check"
url="https://bitbucket.org/leapfrogdevelopment/rstr"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/r/rstr/rstr-$pkgver.tar.gz"
builddir="$srcdir/rstr-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/*/tests
}

sha512sums="ddd4eb4ca25f2bd991d14af6ae800a911a7077dfb14ad1968bf9e62363505e54b4f98b36eb53b7077435f9703116cc2338490a3e0d6d4d1d6fe9857a4d560976  rstr-2.2.6.tar.gz"
